<template>
	<view class="P_2">
		<view class="bg_fff B_radius_5 P_2">
			<view class="PB_2 flex_rowC font_weight_bold fontS_16">
				{{info.title}}
			</view>
			<view class="color_gray textR fontS_10">
				{{info.created_at}}
			</view>
			<view v-html="info.content" class="text_indent_2">
				<!-- {{}} -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				info:{}
			}
		},
		onLoad(options) {
			this.id = options.id;
			this.getList()
		},
		methods: {
			getList(){
				let _this = this;
				this.$req('index/noticeDetail',{id:_this.id},function(res){
					if(res.code==1){
						_this.info = res.data;
					}else{
						_this.toast(res.msg)
					}
				})
			}
		}
	}
</script>

<style>

</style>
